﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MvcEmrRazor.Models
{
    public static class EmrUtil
    {
        public static Dictionary<int, string> EmrSmoking = new Dictionary<int, string>()
        {
            {0, "choose"},
            {1, "current every day smoker"},
            {2, "current some day smoker"},
            {3, "former smoker"},
            {4, "never smoked"},
            {5, "smoker, current status unknown"},
            {6, "unknown if ever smoked"},
        };
    }
 
    public class SmokingStatus
    {
        public int SmokingID { get; set; }
        public string Status { get; set; }
        public static List<SmokingStatus> GetList()
        {
            List<SmokingStatus> list = new List<SmokingStatus>{
                new SmokingStatus {SmokingID = 0, Status="choose"},
                new SmokingStatus {SmokingID = 1, Status="current every day smoker"},
                new SmokingStatus {SmokingID = 2, Status="current some day smoker"},
                new SmokingStatus {SmokingID = 3, Status="former smoker"},
                new SmokingStatus {SmokingID = 4, Status="never smoked"},
                new SmokingStatus {SmokingID = 5, Status="smoker, current status unknown"},
                new SmokingStatus {SmokingID = 6, Status="unknown if ever smoked"},
            };
            return list;
        }
    }
}